package com.gxa.meiye.admin.shop.mapper;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author cc
 * @PackageName meiye
 * @Package com.gxa.meiye.admin.shop.mapper
 * @Date 2022/7/23 12:58
 * @Version 1.0
 */
public interface MainMapper {
    Integer selectPayNum(Integer status2, String todayTime);
    Integer selectCheckNum(Integer status4, String todayTime);
    Integer selectRefundNum(Integer status8,String todayTime);
    BigDecimal selectPay(Integer status2,String todayTime);
    BigDecimal selectIncome(Integer status4,String todayTime);
    BigDecimal selectRefund(Integer status8,String todayTime);

    Integer selectSevenDaysAgoPayNum(Integer status2,Long nowTime,Long sevenDaysAgo);
    Integer selectSevenDaysAgoCheckNum(Integer status4,Long nowTime,Long sevenDaysAgo);
    Integer selectSevenDaysAgoRefundNum(Integer status8,Long nowTime,Long sevenDaysAgo);
    BigDecimal selectSevenDaysAgoPay(Integer status2,Long nowTime,Long sevenDaysAgo);
    BigDecimal selectSevenDaysAgoIncome(Integer status4,Long nowTime,Long sevenDaysAgo);
    BigDecimal selectSevenDaysAgoRefund(Integer status8,Long nowTime,Long sevenDaysAgo);

    Integer selectThirtyDaysAgoPayNum(Integer status2,Long nowTime,Long thirtyDaysAgo);
    Integer selectThirtyDaysAgoCheckNum(Integer status4,Long nowTime,Long thirtyDaysAgo);
    Integer selectThirtyDaysAgoRefundNum(Integer status8,Long nowTime,Long thirtyDaysAgo);
    BigDecimal selectThirtyDaysAgoPay(Integer status2,Long nowTime,Long thirtyDaysAgo);
    BigDecimal selectThirtyDaysAgoIncome(Integer status4,Long nowTime,Long thirtyDaysAgo);
    BigDecimal selectThirtyDaysAgoRefund(Integer status8,Long nowTime,Long thirtyDaysAgo);
}
